function y = biggsb1(x)
% BIGGSB1 function
% x0=ones(n,1)*0; 
n=length(x); 
y=(x(1)-1)^2;
for i=1:n-1
    y=y+(x(i+1)-x(i))^2;
end
y=y+(x(n)-1)^2;


